﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Secure/eSecureMaster.master" AutoEventWireup="true"
    CodeBehind="SecurityScreenForm.aspx.cs" Inherits="Eassets.UI.Secure.SecurityScreenForm" %>

<%@ Register Src="~/Components/FlashMessage.ascx" TagName="FlashMessage" TagPrefix="osm" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <asp:TreeView ID="treeViewProgramTree" runat="server" OnSelectedNodeChanged="treeViewProgramTreeNode_Click"
        ShowLines="True" CssClass="programtree">
        <SelectedNodeStyle BackColor="white" BorderWidth="1" />
        <Nodes>
        </Nodes>
    </asp:TreeView>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="formtitle">
        <asp:Label ID="labelFormTitle" runat="server" Text="Screen Details"></asp:Label>
    </div>
    <table width="100%" height="5px">
        <tbody>
            <tr>
                <td align="right">
                    <osm:FlashMessage ID="FlashMessage1" runat="server" />
                    &nbsp;&nbsp;&nbsp;
                </td>
            </tr>
        </tbody>
    </table>
    <div class="FormLable">
        <%--<asp:UpdatePanel ID="updatePanelHeader" runat="server" UpdateMode="Conditional">
            <ContentTemplate>--%>
        <fieldset>
            <asp:Label ID="labelModuleCode" runat="server" Text="Module Code" CssClass="legendlabel_size2"
                Visible="True" Width="200px"></asp:Label>
            <asp:DropDownList ID="dropDownListModule" runat="server" CssClass="select" AutoPostBack="true"
                OnSelectedIndexChanged="dropDownListModule_SelectedIndexChanged">
            </asp:DropDownList>
            <font color="#FF0000">*</font>
        </fieldset>
        <%--</ContentTemplate>
        </asp:UpdatePanel>--%>
        <br />
    </div>
    <fieldset>
        <ul class="form">
            <li>
                <div class="input_accordion_panes">
                    <asp:UpdatePanel ID="updatePanelInputs" runat="server" UpdateMode="Conditional">
                        <ContentTemplate>
                            <cc1:Accordion ID="accordionInputs" runat="server" SuppressHeaderPostbacks="false"
                                RequireOpenedPane="true" AutoSize="None" TransitionDuration="250" FramesPerSecond="40"
                                FadeTransitions="true" ContentCssClass="accordionContent" HeaderSelectedCssClass="accordionHeaderSelected"
                                HeaderCssClass="accordionHeader" SelectedIndex="0" Width="98%">
                                <Panes>
                                    <%--Accordiaon Pane to Add Details--%>
                                    <cc1:AccordionPane ID="accordionPaneAdd" runat="server" HeaderCssClass="accordionHeader">
                                        <Header>
                                            Add Sub Level</Header>
                                        <Content>
                                            <ul class="form">
                                                <li>
                                                    <div class="formfield">
                                                        <asp:Label ID="labelDescriptionAdd" runat="server" Text="Screen Description" CssClass="legendlabel_size2"></asp:Label>
                                                        <asp:TextBox ID="textBoxDescriptionAdd" runat="server" CssClass="textbox_size2" Width="300px"></asp:TextBox>
                                                        <font class="mandatoryfield">*</font>
                                                    </div>
                                                </li>
                                                <li>
                                                    <div class="formfield">
                                                        <asp:Label ID="labelProgramFileNameAdd" runat="server" Text="Program File Name" CssClass="legendlabel_size2"></asp:Label>
                                                        <asp:TextBox ID="textBoxProgramFileNameAdd" runat="server" CssClass="textbox_size2"
                                                            Width="300px"></asp:TextBox>
                                                    </div>
                                                </li>
                                                <li>
                                                    <div class="formfield">
                                                        <asp:Label ID="labelSequenceAdd" runat="server" Text="Sequence" CssClass="legendlabel_size2"></asp:Label>
                                                        <asp:TextBox ID="textBoxSequenceAdd" runat="server" CssClass="textbox_size2" Width="80px"></asp:TextBox>
                                                        <font class="mandatoryfield">*</font>
                                                    </div>
                                                </li>
                                                <li>
                                                    <br />
                                                </li>
                                                <li>
                                                    <div class="buttonlist2">
                                                        <asp:Button ID="buttonSaveAdd" runat="server" Text="Save" CssClass="button_normal"
                                                            OnClick="buttonSaveAdd_Click" />
                                                        <asp:Button ID="buttonCancelAdd" runat="server" Text="Cancel" CssClass="button_normal" />
                                                </li>
                                            </ul>
                                        </Content>
                                    </cc1:AccordionPane>
                                    <%--Accordiaon Pane to View / Modify / Remove Details--%>
                                    <cc1:AccordionPane ID="accordionPaneEdit" runat="server" HeaderCssClass="accordionHeader">
                                        <Header>
                                            Modify</Header>
                                        <Content>
                                            <ul class="form">
                                                <li>
                                                    <div class="formfield">
                                                        <asp:Label ID="labelDescriptionModify" runat="server" Text="Screen Description" CssClass="legendlabel_size2"></asp:Label>
                                                        <asp:TextBox ID="textBoxDescriptionModify" runat="server" CssClass="textbox_size2"
                                                            Width="300px"></asp:TextBox>
                                                        <font class="mandatoryfield">*</font>
                                                        <asp:HiddenField ID="hiddenFieldScreenId" runat="server" />
                                                        <asp:HiddenField ID="hiddenFieldParentScreenId" runat="server" />
                                                    </div>
                                                </li>
                                                <li>
                                                    <div class="formfield">
                                                        <asp:Label ID="labelProgramFileNameModify" runat="server" Text="Program File Name"
                                                            CssClass="legendlabel_size2"></asp:Label>
                                                        <asp:TextBox ID="textBoxProgramFileNameModify" runat="server" CssClass="textbox_size2"
                                                            Width="300px"></asp:TextBox>
                                                    </div>
                                                </li>
                                                <li>
                                                    <div class="formfield">
                                                        <asp:Label ID="labelSequenceModify" runat="server" Text="Sequence" CssClass="legendlabel_size2"></asp:Label>
                                                        <asp:TextBox ID="textBoxSequenceModify" runat="server" CssClass="textbox_size2" Width="80px"></asp:TextBox>
                                                        <font class="mandatoryfield">*</font>
                                                    </div>
                                                </li>
                                                <li>
                                                    <br />
                                                </li>
                                                <li>
                                                    <div class="buttonlist2">
                                                        <asp:Button ID="buttonSaveEdit" runat="server" Text="Save" CssClass="button_normal" />
                                                        <asp:Button ID="buttonDeleteEdit" runat="server" Text="Delete" CssClass="button_normal" />
                                                        <asp:Button ID="buttonCancelEdit" runat="server" Text="Cancel" CssClass="button_normal" />
                                                    </div>
                                                </li>
                                            </ul>
                                        </Content>
                                    </cc1:AccordionPane>
                                </Panes>
                            </cc1:Accordion>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </div>
            </li>
        </ul>
    </fieldset>
</asp:Content>
